from typing import Any


def my_custom_annotation(tag: str):
    def decorator(func):
        func.__annotations__[tag] = Any
        return func

    return decorator


@my_custom_annotation('cache_result')
def expensive_function(a: int, b: int) -> int:
    return a * b


print(expensive_function.__annotations__)
